import { createRouter, createWebHistory } from "vue-router";
//导入Home组件
import Home from '../components/home/Home.vue'
import Order from '../components/order/Order.vue'
import User from '../components/user/User.vue'
import Order_data from '../components/order/Order_data.vue'
import Lian_Ji from '../components/city/Lian_Ji.vue'
const routes = [
  {
	  path:'/',
	  name:'Home',
	  component:Home
  },
  {
	  path:'/order',
	  name:'Order',
	  component:Order
  },
  {
  	path:'/Lian_Ji',
  	name:'Lian_Ji',
  	component:Lian_Ji
  },
  {
	  path:'/Order_data',
	  name:'Order_data',
	  component:Order_data
  },
  {
	  path:'/user',
	  name:'User',
	  component:User
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
